home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
- Begin VB.Form Form1
- Caption = "Form1"
- ClientHeight = 2070
- ClientLeft = 60
- ClientTop = 345
- ClientWidth = 3900
- LinkTopic = "Form1"
- ScaleHeight = 2070
- ScaleWidth = 3900
- StartUpPosition = 3 'Windows Default
- Begin MSAdodcLib.Adodc Adodc1
- Height = 375
- Left = 840
- Top = 1440
- Width = 2295
- _ExtentX = 4048
- _ExtentY = 661
- ConnectMode = 0
- CursorLocation = 3
- IsolationLevel = -1
- ConnectionTimeout= 15
- CommandTimeout = 30
- CursorType = 3
- LockType = 3
- CommandType = 1
- CursorOptions = 0
- CacheSize = 50
- MaxRecords = 0
- BOFAction = 0
- EOFAction = 0
- ConnectStringType= 1
- Appearance = 1
- BackColor = -2147483643
- ForeColor = -2147483640
- Orientation = 0
- Enabled = -1
- Connect = "Provider=Microsoft.Jet.OLEDB.3.51;Persist Security Info=False;Data Source=c:\VBDB\Working\Biblio.mdb"
- OLEDBString = "Provider=Microsoft.Jet.OLEDB.3.51;Persist Security Info=False;Data Source=c:\VBDB\Working\Biblio.mdb"
- OLEDBFile = ""
- DataSourceName = ""
- OtherAttributes = ""
- UserName = ""
- Password = ""
- RecordSource = "SELECT * FROM Titles"
- Caption = "Adodc1"
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- _Version = 393216
- End
- Begin VB.Label Label2
- Caption = "Label2"
- Height = 495
- Left = 240
- TabIndex = 1
- Top = 600
- Width = 1215
- End
- Begin VB.Label Label1
- Caption = "Label1"
- DataField = "Title"
- DataSource = "Adodc1"
- Height = 495
- Left = 240
- TabIndex = 0
- Top = 120
- Width = 3375
- End
- Attribute VB_Name = "Form1"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- Private Sub Form_Activate()
- Adodc1.RecordSource = "SELECT * FROM Titles ORDER BY Title"
- Adodc1.Refresh
- Adodc1.Recordset.MoveLast
- Adodc1.Recordset.MoveFirst
- Label2.Caption = Adodc1.Recordset.RecordCount
- End Sub
-